home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / AMICUS / AMICUS16.ADF / C / InputHandler / ReadMe.DOC < prev    next >
Text File  |  1989-01-27  |  2KB  |  37 lines

  1.  
  2. One program sets up an input device handler that will trace some very raw
  3. keyboard input and some mouse movement.  It is useful for determining the
  4. code and qualifier fields of an input event record.  It exits via a F1
  5. down/up slowly.
  6.  
  7. The second program is also an input device handler but it is not passive
  8. and modifies the input stream before intuition gets control.  It is useful
  9. as an example of how to do this as well as a utility that I use to allow a
  10. bit of a MACRO input to the text editor TxEd.  It defines 4 function keys
  11. for some hard to type right-amiga functions and it permits a very quick
  12. drag selection and copy/cut to clipboard by sensing both the down stroke
  13. and up stroke of the left alt key.  The left amiga key is also sensed and
  14. inserts a paste command into the input stream.  This allows one to move and
  15. copy keeping the right hand on the mouse instead of having to move it to
  16. the right amiga key (or doing a biggggg split between left thumb and left
  17. pinky to type right amiga c/x).
  18.  
  19. NOTE:  These programs ONLY WORK with MANX C. There is imbeded assembly
  20. language that is not compatible with Lattice but an hour of work could
  21. convert it to Lattice plus amiga assembler.  Since input handlers are
  22. called with the register context of the input device, some tricks had to be
  23. done to use MANX's small code and small data models (A4 has to be set up). 
  24.  
  25. Both are built using the 16 bit library:
  26.  
  27. cc in        ;the txed utility
  28. ln in.o -lc
  29. cc in1        ;the trace utility
  30. ln in1.o -lc
  31.  
  32. This description file is in the arc plus another document file.
  33.  
  34. Happy Hacking
  35.  
  36. Eric 
  37.